gdk/wayland/cursor/os-compatibility: fix build when memfd_create is not available
authorDavid Lechner <david@lechnology.com>
Tue, 27 Apr 2021 16:37:16 +0000 (11:37 -0500)
committerDavid Lechner <david@lechnology.com>
Tue, 27 Apr 2021 16:46:39 +0000 (11:46 -0500)
commit2a610267eb1a41e0074f1842918872419d9de1e0
treea54660e2331e8f70743a38586e73ef10ca327e60
parent82f8fc3bee0a2175f5de38acb0e4465969da62b8
gdk/wayland/cursor/os-compatibility: fix build when memfd_create is not available

When building for homebrew/linuxbrew on Ubuntu 16.04, memfd_create() is
not available and causes the build to fail.

This adds a proper check for the function.
gdk/wayland/cursor/os-compatibility.c
meson.build